<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
    .z{
        display: inline-block;
        width: 50px;
        height: 30px;
        background-image: url(avatar.jpg);
        background-size: cover;
        opacity: 0.5;
        background-position: -70px;
        
    }
    .x{
        margin-left: 50px;
    }
    .v{
        width: 300px;
        height: 300px;
        background-color: royalblue;
    }
    .b{
        width: 200px;
        height: 200px;
        background-color:salmon;
        display: none;
    }
    .v:hover .b{
        display:block;
    }
    .n{
        width: 200px;
        height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: springgreen;
        opacity: 0.9;
    }
    img{
       background-attachment: fixed;
    }
    .a{
        width: 600px;
        height: 800px;
        background-color: yellow;
    }
</style>
</head>
<body>
    <div class="c">
        <span class="z"></span>
        666
    </div>
    <div class="v">
       <div class="b"></div>
    </div>
    <div class="n">
        asdfghjagagahjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
    </div>
    <div class="m">
        <img src="avatar.jpg">
        <div class="a"></div>
    </div>
    
</body>
</html>